package com.topsec.tss.hdfs.client.rest;


import com.google.gson.reflect.TypeToken;

import java.lang.reflect.Type;
import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * Rest返回的实体类
 * 
 * @title RestEntityType
 * @package com.topsec.tss.hdfs.client.rest
 * @author ypf
 * @version
 * @date 2014-9-5
 */
public class RestEntityType {

   /* public static final EntityType<List<Map<String, Object>>> LIST_MAP;
    public static final EntityType<Map<String, Object>> MAP;
    public static final EntityType<ResultDto> RESULTENTRY;
    public static final EntityType<String> STRING;
    public static final EntityType<Long> LONG;
    static {
        LIST_MAP = new EntityType<List<Map<String, Object>>>() {
        };
        MAP = new EntityType<Map<String, Object>>() {
        };
        STRING = new EntityType<String>() {
        };
        LONG = new EntityType<Long>() {
        };
        RESULTENTRY = new EntityType<ResultDto>() {
        };
    }*/

    public static final Type LIST_MAP = new TypeToken<List<Map<String, Object>>>(){}.getType();
}
